home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
bbs
/
g5109b.zip
/
G5.ZIP
/
G5_STRUC.ZIP
/
G5_CODES.TXT
< prev
next >
Wrap
Text File
|
1996-11-27
|
10KB
|
202 lines
┌───────────────────────────────────────────────────────────────────────────┐
│ This text file serves as an explanation of how the color codes are used │
│ within ──══ Galaxy 5 ══── │
└───────────────────────────────────────────────────────────────────────────┘
Galaxy 5 makes use of simple color codes very similiar to those used by
Wildcat! BBS software. The only difference in the color codes, is that
G5 uses a tilde (~) instead of an AT (@) sign to enclose the codes. For
example, Cyan on Black using Wildcat codes would look like this, @03@, and
Cyan on Black using G5 codes would look like this, ~03~. The other
difference is that anything other than the color codes from Wildcat, do
not work in G5. Like the @PAUSE@, @CLS@, etc.
All color codes use the same format. The first character between the ~
signs sets the background color, and the second character sets the
foreground color. When a color code is used, only the text following the
code on the SAME line will be affected, either up to the end of the line,
or to the next code. If an invalid code is used to set the foreground or
background color, then the color will default to Cyan on Black.
Color codes can be used anywhere where user input is allowed. For
example, when entering your player handle when you first start the game, or
when writing a message to another user, or when talking with others at an
Inn on one of the planets.
┌───────────────────────────────────────────────────────────────────────────┐
│ Below are the codes used to gain each color. │
└───────────────────────────────────────────────────────────────────────────┘
~BF~
│└Foreground color
└Background color
────────────────────────────────────────────────────────────────────────────
Background Colors Foreground Colors
────────────────────────────────────────────────────────────────────────────
0 = Black 0 = Black
1 = Blue 1 = Blue
2 = Green 2 = Green
3 = Cyan 3 = Cyan
4 = Red 4 = Red
5 = Magenta 5 = Magenta
6 = Brown (dark yellow) 6 = Brown (dark yellow)
7 = Gray 7 = Light Gray
8 = Black (blinks foreground) 8 = Dark Gray (light black)
9 = Blue (blinks foreground) 9 = Light Blue
A = Green (blinks foreground) A = Light Green
B = Cyan (blinks foreground) B = Light Cyan
C = Red (blinks foreground) C = Light Red
D = Magenta (blinks foreground) D = Light Magenta
E = Brown (blinks foreground) E = Light Yellow
F = Gray (blinks foreground) F = White
Examples,
~03~This would be cyan on black.
~1F~This would be white on a blue background.
~84~This would be blinking red on a black background.
┌───────────────────────────────────────────────────────────────────────────┐
│ There are also some other codes that can be used, but probably aren't │
│ as useful to game players, as they will be to third party programmers. │
│ They are listed below. │
└───────────────────────────────────────────────────────────────────────────┘
┌───────────────────────────────────────────────────────────────────────────┐
│ Miscellaneous codes │
└───────────────────────────────────────────────────────────────────────────┘
~XX~ = Clears the screen
~<>~ = Calls a <PAUSE> prompt and pauses display until a key is pressed.
┌───────────────────────────────────────────────────────────────────────────┐
│ P as first character, represents the planets │
└───────────────────────────────────────────────────────────────────────────┘
~PP~ = Display the name of the current planet that the player is on.
~PL~ = Use the light color of the current planet.
~PD~ = Use the dark color of the current planet.
~P!~ = Display name of the person the player can flirt with at the Inn.
When this code is used, it will display the appropriate name of the
person that they can flirt with at the inn of the planet they are
on. For example, if the player is male, then the name of the female
worker at the inn will be shown, and the male workers name will be
shown for a female caller.
~PM~ = Display the name of the male mate at the inn.
~PF~ = Display the name of the female mate at the inn.
~P1~ = Display the name of the first planet.
~P2~ = Display the name of the second planet.
~P3~ = Display the name of the third planet.
~P4~ = Display the name of the fourth planet.
~P5~ = Display the name of the fifth planet.
┌───────────────────────────────────────────────────────────────────────────┐
│ W as first character represents the the player (Warrior) │
└───────────────────────────────────────────────────────────────────────────┘
~WH~ = Display the players handle.
~WM~ = Display the players money in pocket.
~WB~ = Display the players money in bank.
~WL~ = Display the players looks.
~WR~ = Display the players ranking.
~WW~ = Display the players Weapon name.
~WA~ = Display the players Armour name.
~WS~ = Display the players Ship name.
~WF~ = Display the players fuel on board.
~W!~ = Display the players current health status.
~W%~ = Display the players maximum health.
~WT~ = Display the players time left.
~WP~ = Display number of power moves left.
~W*~ = Display the players player type.
~WO~ = Display name of person this player is married to (if any).
~WD~ = Display the name of the warrior droid to fight for players
current level.
┌───────────────────────────────────────────────────────────────────────────┐
│ M as first character represents the current enemy │
└───────────────────────────────────────────────────────────────────────────┘
**NOTE** These codes can only be used after an enemy record is read
from the ENEMIES.DAT file. Otherwise, they will be a blank.
~MN~ = Display current enemy's name.
~MW~ = Display current enemy's weapon name.
~MH~ = Display current enemy's health factor.
~MP~ = Display string used when enemy gets a power move in.
~MK~ = Display string used when player kills enemy with good move.
┌───────────────────────────────────────────────────────────────────────────┐
│ U as first character represents user variables │
└───────────────────────────────────────────────────────────────────────────┘
These codes are used in the XPORTS.DAT file on the command line for your
Xport if you need to pass user info to your door on the command line.
~UF~ = Users first name.
~UL~ = Users last name.
~UI~ = IRQ number.
~UC~ = Com port number.
~UE~ = Keeping a log of errors in GALAXY5.LOG (will read TRUE or FALSE)?
~UB~ = Baud rate.
~UN~ = Node number.
~UD~ = Full path and file name to DROPFILE.* file.
~UP~ = Full path and file name of NODE*.DAT file.
~UR~ = Full path and file name of DORINFO*.DEF file.
┌───────────────────────────────────────────────────────────────────────────┐
│ $ as first character is used for prices on a few things │
└───────────────────────────────────────────────────────────────────────────┘
These codes will display the correct price to the caller. The price that
the SysOp sets for the meals and drinks, are multiplied by the players
level to determine how much it will cost each individual player.
~$M~ = Cost to buy a meal.
~$D~ = Cost to buy a drink.
┌───────────────────────────────────────────────────────────────────────────┐
│ + as first character represents Weapon prices │
└───────────────────────────────────────────────────────────────────────────┘
These codes are numerical. 0 thru 9. ~+0~ will display what the 10th
weapon costs, etc.
~+?~ = Where you replace ? with a number between 0 and 9. Using 0 will give
the price of the 10th weapon, 1 the price of the first weapon, etc.
┌───────────────────────────────────────────────────────────────────────────┐
│ ( as first character represents Armour prices │
└───────────────────────────────────────────────────────────────────────────┘
These codes are numerical. 0 thru 9. ~(0~ will display what the 10th
armour costs, etc.
~(?~ = Where you replace ? with a number between 0 and 9. Using 0 will give
the price of the 10th armour, 1 the price of the first armour, etc.
┌───────────────────────────────────────────────────────────────────────────┐
│ ) as first character represents Space Craft prices │
└───────────────────────────────────────────────────────────────────────────┘
These codes are numerical. 0 thru 9. ~)0~ will display what the 10th
space craft costs, etc.
~)?~ = Where you replace ? with a number between 0 and 9. Using 0 will give
the price of the 10th space craft, 1 the price of the first space
craft, etc.
┌───────────────────────────────────────────────────────────────────────────┐
│ Player Kills Info │
└───────────────────────────────────────────────────────────────────────────┘
These codes can be used to display the player with the most player kills,
and the amount of his/her highest kills.
~K!~ = Display the players handle with the most player kills.
~K#~ = Display the amount of player kills that the player who holds the
record of the most kills has.
───────────────────────────────────────────────────────────────────────────